package com.inspur.ourhis_afterend.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.inspur.ourhis_afterend.Entity.Member;
import com.inspur.ourhis_afterend.Tools.PageAction;

import java.util.List;

public interface MemberService {
    int add(Member member)throws Exception;

    int del(Integer memberid)throws Exception;

    IPage<Member> findAll(PageAction pageAction)throws Exception;

    Member findOne(Integer memberid)throws Exception;

    List<Member> search(String memberid, String realname, String credit, String tel)throws Exception;

    int increase(String memberid, double money)throws Exception;
}
